package com.fzd.code.common;

import lombok.Data;

import java.util.List;

@Data
public class PageData<T> {
	private long total;
	private List<T> rows;

	public PageData(){}
	public PageData(long total, List<T> rows){
		this.setTotal(total);
		this.setRows(rows);
	}
}
